package drugdealer.persistencia;

import drugdealer.dados.Transacao;
import drugdealer.persistencia.exceptions.AlreadyExistsException;
import drugdealer.persistencia.exceptions.DoesNotExistsException;

public interface IRepositorioTransacao {
	
	public void add(Transacao transacao) throws AlreadyExistsException;
	
	public void update(Transacao transacao) throws DoesNotExistsException;
	
	public Transacao get(int codigo);
	
	public void remove(Transacao transacao);
	
}
